#include "ZigBee3BackQueryCmd.h"

Zigbee3BackQueryCmd::Zigbee3BackQueryCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::ZigbeeConfigProtocol;
    this->m_functionCode = FunctionCode;
}

Package Zigbee3BackQueryCmd::toPackage()
{
    Package package;
    package.setFunction(FunctionCode);
    return package;
}

void Zigbee3BackQueryCmd::unPackage(Package package)
{
  m_Zigbee3BackQueryData=package.body();
}

QByteArray Zigbee3BackQueryCmd::Zigbee3BackQueryData()const
{
    return m_Zigbee3BackQueryData;
}
void Zigbee3BackQueryCmd::setZigbee3BackQueryData(const QByteArray Data)
{
    m_Zigbee3BackQueryData=Data;
}

